import request from '@/utils/request'
import {
  renderUrl
} from '../utils'

const headers = {
  'Content-Type': 'application/json'
}

export function getsysinfo(data) {
  return request({
    url: '/admin/operation/sys/info',
    method: 'POST',
    data: JSON.stringify(data),
    headers
  })
}

export function updatesys(data) {
  return request({
    url: '/admin/operation/sys/update',
    method: 'POST',
    data: JSON.stringify(data),
    headers
  })
}